package cn.dg.manager.order.dao;

import java.util.List;
import java.util.Map;

import cn.dg.manager.common.entity.PageEntity;
import cn.dg.manager.order.entity.OrderInfoResultBean;
import cn.dg.manager.order.entity.OrderInfoVO;
import cn.dg.manager.order.entity.OrderEditPageBean;

public interface OrderInfoDao {

	/**
	 * 订单一览数据查询
	 * @param params
	 * @return
	 */
	PageEntity<OrderInfoResultBean> findOrderListPagePage(Map<String, Object> params);

	long insertOrderInfo(OrderInfoVO bean);
	
	long updateOrderInfo(OrderInfoVO bean);
	
	long deleteOrderInfoByIds(List<String> orderIdList);

	/**
	 * 获取订单基本信息
	 * 
	 * @param orderId
	 * @return
	 */
	OrderEditPageBean getOrderInfo(String orderId);
}
